﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Chat.Models
{
    public class RegistMoudel
    {
        [Required(ErrorMessage = "参数不能为空")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "参数不能为空")]

        public string Password { get; set; }


        public int Age { get; set; }



        public bool Gender { get; set; }


        public string PersonalSignature { get; set; }

        public string AvatarImageURL { get; set; }

        [Required(ErrorMessage = "参数不能为空")]
        public string PhoneNumber { get; set; }



    }
}